package com.github.aloxc.plugin.restplus.entity;

import com.github.aloxc.plugin.DonotGuard;
import com.github.aloxc.plugin.restplus.common.Consts;

import java.io.Serializable;

/**
 * YAPI
 * @author liyh
 */
@DonotGuard
public class Yapi implements Serializable {

    private static final long serialVersionUID = 7577470535420582117L;
    @DonotGuard
    private String url;
    @DonotGuard
    private String token;

    /**
     * yapi平台里面的projectId
     */
    @DonotGuard
    private String projectId;
    @DonotGuard
    private String module;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    @Override
    public String toString() {
        return module;
    }
}
